<?php

namespace app\admin\validate;


class Video extends BaseValidate
{
    protected $rule = [
        "video_name"       => "require|max:15|chsAlpha",
    ];

    protected $message = [
        'video_name.require'       => '视频简介必须填写',
        'video_name.max'           => '视频简介不能超过15个字符',
        'video_name.chsAlpha'      => '视频简介只能是汉字，字母',
    ];
}